package com.th.cash.http


import com.th.basemodel.bean.BaseBean
import com.th.cash.th2.product.BankInfoRequest
import com.th.cash.th2.product.BankInfoResponse
import com.th.cash.th2.product.BaseInfoRequest
import com.th.cash.th2.product.BaseInfoResponse
import com.th.cash.th2.product.ContactInfoRequest
import com.th.cash.th2.product.ContactInfoResponse
import com.th.cash.th2.product.IdCardRequest
import com.th.cash.th2.product.IdCardResponse
import com.th.cash.th2.product.OrderUrlRequest
import com.th.cash.th2.product.OrderUrlResponse
import com.th.cash.th2.product.ProductDetailRequest
import com.th.cash.th2.product.ProductDetailResponse
import com.th.cash.th2.product.UploadIdCardResponse
import com.th.cash.th2.product.VerifySuccessResponse
import okhttp3.MultipartBody
import retrofit2.http.Body
import retrofit2.http.POST

interface ProductApiService {

    @POST("QvIayDislimnOzelu")
    suspend fun getProductDetail(@Body request: ProductDetailRequest): BaseBean<ProductDetailResponse>

    @POST("jwVcgAnthropologicJSFBW")
    suspend fun getOrderUrl(@Body request: OrderUrlRequest): BaseBean<OrderUrlResponse>

    @POST("trxqILagomorphaXDfvD")
    suspend fun initBaseInfo(@Body request: BaseInfoRequest): BaseBean<BaseInfoResponse>

    @POST("ICvOfSemiconsciousnessUCOkB")
    suspend fun saveBaseInfo(@Body request: MutableMap<String, Any?>): BaseBean<VerifySuccessResponse>

    @POST("isiUoTrothTOgGV")
    suspend fun initContactInfo(@Body request: ContactInfoRequest): BaseBean<ContactInfoResponse>

    @POST("yHmHQLubricativeOxgCM")
    suspend fun saveContactInfo(@Body request: MutableMap<String, Any?>): BaseBean<VerifySuccessResponse>

    @POST("VKHnSIrritativeSLHfK")
    suspend fun initBankInfo(@Body request: BankInfoRequest): BaseBean<BankInfoResponse>

    @POST("rhcrrRetiniteFTpkG")
    suspend fun saveBankInfo(@Body request: MutableMap<String, Any?>): BaseBean<VerifySuccessResponse>

    @POST("ZuKCNMnemotechnistAGutF")
    suspend fun initIdCard(@Body request: IdCardRequest): BaseBean<IdCardResponse>

    @POST("giNOtKinetochoreOHRNc")
    suspend fun uploadIdCard(@Body multipartBody: MultipartBody): BaseBean<UploadIdCardResponse>

    @POST("wBfFtRapportQXNVX")
    suspend fun saveIdCard(@Body request: MutableMap<String, Any?>): BaseBean<VerifySuccessResponse>
}